package com.study.pojo.request;

import java.io.Serializable;

/**
 * 用户注册请求体:将注册这件事也封装成一个对象（万物皆对象）
 *注册需要填写基本注册信息：账号、密码、二次密码
 * @author fruity
 */

public class UserRegisterRequest implements Serializable {
    private static final long serialVersionUID = 1L;
    private String userAccount;
    private String userPassword;
    private String checkPassword;
    private String planetCode;


    public UserRegisterRequest() {
    }

    public UserRegisterRequest(String userAccount, String userPassword, String checkPassword, String planetCode) {
        this.userAccount = userAccount;
        this.userPassword = userPassword;
        this.checkPassword = checkPassword;
        this.planetCode = planetCode;
    }

    /**
     * 获取
     * @return userAccount
     */
    public String getUserAccount() {
        return userAccount;
    }

    /**
     * 设置
     * @param userAccount
     */
    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    /**
     * 获取
     * @return userPassword
     */
    public String getUserPassword() {
        return userPassword;
    }

    /**
     * 设置
     * @param userPassword
     */
    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    /**
     * 获取
     * @return checkPassword
     */
    public String getCheckPassword() {
        return checkPassword;
    }

    /**
     * 设置
     * @param checkPassword
     */
    public void setCheckPassword(String checkPassword) {
        this.checkPassword = checkPassword;
    }

    /**
     * 获取
     * @return planetCode
     */
    public String getPlanetCode() {
        return planetCode;
    }

    /**
     * 设置
     * @param planetCode
     */
    public void setPlanetCode(String planetCode) {
        this.planetCode = planetCode;
    }

    public String toString() {
        return "UserRegisterRequest{userAccount = " + userAccount + ", userPassword = " + userPassword + ", checkPassword = " + checkPassword + ", planetCode = " + planetCode + "}";
    }
}
